Contract-Aware Feature Composition
نویسندگان
چکیده
Feature-oriented programming is a paradigm to develop software product lines, in which products can be generated by composing feature modules. Design by contract is a development methodology, in which methods are specified by annotating them with contracts. Researchers propose to use such contracts to specify feature modules in order to perform different product-line analysis-techniques such as verification and automated detection of feature interactions. We have found six approaches to specify feature modules with contracts in literature. These approaches differ in the way specifications can be refined. Each of them relies on a certain way in which contracts are composed. So far, these contract composition mechanisms must be applied manually for each product. Thus, the evaluation of applications that rely on contracts in feature-oriented programming is laborious, error-prone, or not feasible at all. We formalize the underlying composition mechanism for each existing approach considering possible interpretations, variations, and combinations. Based on our formalization, we provide tool support that can be used to specify feature modules with contracts expressed in the Java Modeling Language. Our tool is integrated into an integrated development environment that provides support for the whole product-line engineering process. Furthermore, it allows the developer to choose the desired contract composition mechanism for each product line. We performed four case studies to evaluate the applicability of different contract composition mechanisms.
منابع مشابه
A QoS Aware, Cognitive Parameters Based Model for the Selection of Semantic Web Services
Selecting the most appropriate semantic web service is one of the important components of the semantic web service composition process. Most aspects of the Semantic Web Service (SWS) composition process such as automatic discovery, selection, and composition are tightly related to the quality of semantic web services (QoS). QoS can be defined as a part of service description and is an especiall...
متن کاملInterface Suites as Contracts. Composition of Contracts in UML
We present a tool for composition of component specifications. The tool uses UML diagrams to model the composition. A fixed component specification is a contract between some roles communicating via interfaces. A contract has a specific underlying model that we present. Composition of contracts is a contract that extends contracts of composites, but does not change them. To guarantee this featu...
متن کاملQoS-aware management of monotonic service orchestrations
Abstract We study QoS-aware management of service orchestrations, specifically for orchestrations having a data-dependent workflow. Our study supports multi-dimensional QoS. To capture uncertainty in performance and QoS, we provide support for probabilistic QoS. Under the above assumptions, orchestrations may be non-monotonic with respect to QoS, meaning that strictly improving the QoS of a ser...
متن کاملThe nature of public-private partnership
To explaining the public-private partnership matter, we have to search about the answer of this questions: public-private partnership Is subject of what kind of legal contracts? private law? Administrate law? And what kind of Outstanding feature make it difference from other contracts.in order to finding the answer we Explained the concept of partnership, the definition of governmental contract...
متن کاملAgency, Cyberspace, and Social Contract
The social contract has been about rights and responsibilities in human societies. Facebook and its role in manufacturing and sustaining a global social contract, a new “we” is clearly one of the research areas that needs more attention. A new “we” is coming of age in the new age of connectivity and communication with a new outlook toward responsibility and rights at individual and collective l...
متن کامل